<div class="container">
<div class="row">
	<div class="col-md-8">
		<portlet portlet="onlycontent" title="新闻内容显示">{{template articles/_view}}</portlet>
		<portlet  title="网友评论">{{template comments/add}}</portlet>
	</div>
	
	<div class="col-md-4">
		<portlet title="公众号：{{$Article['Wx']['name']}}" >
			<p><a href="{{$this->Html->url('/wxes/'.($Article['Wx']['slug']?$Article['Wx']['slug']:$Article['Wx']['id']))}}">查看"{{$Article['Wx']['name']}}"的全部消息</a></p>
			{{if $Article['Wx']['qrcode']}}
				{{$this->Html->image(Router::url($Article['Wx']['qrcode']),array('width'=>150,'title'=>$Article['Wx']['name'].'二维码','height'=>'150px'))}}
				<p>扫描二维码关注</p>
			{{else}}
				<small>暂缺二维码，如果您是“{{$Article['Wx']['name']}}”，欢迎提交二维码给我们。</small>
			{{/if}}
			<p>{{$Article['Wx']['summary']}}</p>
		</portlet>
		<script type="text/javascript">
     document.write('<a style="display:none!important" id="tanx-a-mm_16274845_7484988_25032065"></a>');
     tanx_s = document.createElement("script");
     tanx_s.type = "text/javascript";
     tanx_s.charset = "gbk";
     tanx_s.id = "tanx-s-mm_16274845_7484988_25032065";
     tanx_s.async = true;
     tanx_s.src = "http://p.tanx.com/ex?i=mm_16274845_7484988_25032065";
     tanx_h = document.getElementsByTagName("head")[0];
     if(tanx_h)tanx_h.insertBefore(tanx_s,tanx_h.firstChild);
</script>	
	</div>
</div>
</div>
<script>
$(function(){
	$('.video_iframe').each(function(){
		$(this).attr('width',600);
		$(this).attr('height',400);
		var src = "";
		if($(this).data('src')){
			src = $(this).data('src');
		}
		else{
			src = $(this).attr('src');
		}
		$(this).attr('src',src.replace(/&width=300&height=200/g,"&width=600&height=400"));
	});	
})
</script>